home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / utils / runprg.arc / RUNPRG.DOC < prev    next >
Text File  |  1985-11-20  |  2KB  |  54 lines

  1. RUNPRG  A Desk Accessory for running TOS programs.
  2. --------------------------------------------------
  3.  
  4. by Todd A. Coram 22aug87  BITNET address TCORAM@UDCVAX.BITNET
  5.  
  6. RUNPRG will run programs selected from a file selector box under GEM
  7. applications.  And, because some GEM programs steal all available
  8. memory, RUNPRG is configured at boot up time to reserve some 
  9. memory of its own to run programs.
  10.  
  11. Place RUNPRG.ACC and RUNPRG.RES in the top level directory (not in a folder)
  12. on your boot up disk and edit RUNPRG.RES to suit your needs.
  13.  
  14. RUNPRG.RES is not needed for this program to work, and if it cannot be read
  15. then RUNPRG.ACC will default to reservation of 100k RAM and will use the
  16. file selector box to choose programs to run.
  17.  
  18. RUNPRG.RES format:
  19.  
  20. memory,filespec programname
  21.  
  22. where filespec and programname are optional. 
  23.  
  24. o memory is the total RAM in bytes to be reserved. (If you run stuff from the
  25.    desktop or if your GEM applications don't eat all memory, then you can make
  26.    this value small.)
  27.  
  28. o filespec is the total file specification of the program to run everytime
  29.    the desk accessory is activated. If it is ommited, then the file selector
  30.    is displayed when the accessory is activated.
  31.  
  32. o programname is a character string which will become the name of the RUNPRG
  33.    desk accessory if filespec is supplied.
  34.  
  35. ----------------------------------------
  36. Example:
  37.  
  38. 100000,A:\BIN\EMACS.TTP  EMACS
  39.  
  40. will create a desk accessory called EMACS which when selected will run
  41. A:\BIN\EMACS.TTP and give it at least 100000 bytes to work with.
  42.  
  43. 100
  44.  
  45. will create a desk accessory called 'Execute Prg' which calls a file selector
  46. box when invoked and reserves 100 bytes for programs.
  47. ----------------------------------------
  48.  
  49. BUGS:
  50. o     .PRG (GEM) programs may crash if run from the desk accessory.
  51. o     .TTP programs do not get command lines. (I may fix that later).
  52. o     Tricky GEM applications may bomb for strnage reasons if you use
  53.        RUNPRG.
  54.